import req from '../utils/axios.js'
// export 的另一种写法
// export const getToken=(username,password)=>{    
// }
const getToken = (username, password) => {
    return req.post('/login/login', { username, password })
        //
}
export { getToken }